<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2021 Paranoid Android
               (C) 2021 The Linux Foundation. All rights reserved.

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<resources>

    <!-- Wifi driver supports beacon protection for softap -->
    <bool translatable="false" name="config_vendor_softap_beacon_protection_supported">true</bool>

    <!-- Wifi driver supports OCV for softap -->
    <bool translatable="false" name="config_vendor_softap_ocv_supported">true</bool>

    <!-- Boolean indicating whether the WiFi chipset has 6GHz band support -->
    <bool translatable="false" name ="config_wifi6ghzSupport">true</bool>

    <!-- Boolean indicating connected frequency enhancement is enabled/disabled -->
    <bool name="config_wifiConnectedFrequencyEnhancementEnabled">true</bool>

    <!-- Indicates whether or not the WLAN driver supports the NL80211_CMD_REG_CHANGE or
         NL80211_CMD_WIPHY_REG_CHANGE events which indicate the current country code which is
         being used by the WLAN driver. If the driver doesn't support these events
         (configuration is `false`) then the driver must handle the setCountryCode request from
         HAL as a blocking call. In such a case the country code will be applied
         immediately after the country code is sent to the driver (if the method returns a
         success). -->
    <bool name="config_wifiDriverSupportedNl80211RegChangedEvent">true</bool>

    <!-- Indicates whether or not the Soft AP needs to be restarted when country code changed -->
    <bool name="config_wifiForcedSoftApRestartWhenCountryCodeChanged">false</bool>

    <!-- Indicates that SAE Hash-to-Element is supported on this device -->
    <bool name="config_wifiSaeH2eSupported">true</bool>

    <!-- Wifi driver supports 6GHz band for softap when chip support 6GHz -->
    <bool name="config_wifiSoftap6ghzSupported">true</bool>

    <!-- Wifi driver supports IEEE80211AX for softap -->
    <bool translatable="false" name="config_wifiSoftapIeee80211axSupported">true</bool>

    <!-- Wifi driver supports IEEE80211AX single user beamformer for softap -->
    <bool translatable="false" name="config_wifiSoftapHeSuBeamformerSupported">true</bool>

    <!-- Wifi driver supports IEEE80211AX single user beamformee for softap -->
    <bool translatable="false" name="config_wifiSoftapHeSuBeamformeeSupported">true</bool>

    <!-- Boolean indicating performing a partial initial scan is enabled -->
    <bool translatable="false" name="config_wifiEnablePartialInitialScan">true</bool>

    <!-- Boolean indicating supports for quick connect -->
    <bool translatable="false" name="config_wifi_framework_enable_quick_connect">true</bool>

    <!-- Integer for Wifi Partial scan results fetching period(in ms) -->
    <integer translatable="false" name="config_wifi_partial_scan_results_fetching_period_ms">1000</integer>

    <!-- Configure wifi tcp buffersizes in the form:
         rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
    <string name="config_wifi_tcp_buffers" translatable="false">524288,1048576,16777216,262144,524288,16777216</string>

    <!-- Array describing scanning schedule in seconds when device is disconnected and screen is on -->
    <integer-array translatable="false" name="config_wifiDisconnectedScanIntervalScheduleSec">
        <item>20</item>
    </integer-array>

    <!-- Indicates that bridged AP mode is supported on this device -->
    <bool translatable="false" name="config_wifiBridgedSoftApSupported">true</bool>

    <!-- Indicates that the framework should auto append lower bands to band configuration for
         avoiding coexistence handling. For example: 5g only band will change to 2.4g|5g and
         6g band will change to 2.4|5g|6g band -->
    <bool translatable="false" name="config_wifiSoftapAutoAppendLowerBandsToBandConfigurationEnabled">false</bool>

    <!-- Enable concurrent internet connectivity + internet connectivity
         Note: this is conditional on the device supporting dual concurrent STAs. -->
    <bool translatable="false" name="config_wifiMultiStaMultiInternetConcurrencyEnabled">true</bool>

    <!-- Enable concurrent peer to peer + internet connectivity
         Note: this is conditional on the device supporting dual concurrent STAs. -->
    <bool translatable="false" name="config_wifiMultiStaLocalOnlyConcurrencyEnabled">true</bool>

    <!-- Enable concurrent restricted connectivity + internet connectivity
         Note: this is conditional on the device supporting dual concurrent STAs. -->
    <bool translatable="false" name="config_wifiMultiStaRestrictedConcurrencyEnabled">true</bool>

    <!-- Enable Make-Before-Break Wifi network switching.
         Note: this is conditional on the device supporting dual concurrent STAs. -->
    <bool translatable="false" name="config_wifiMultiStaNetworkSwitchingMakeBeforeBreakEnabled">true</bool>

    <!-- Controls whether a wifi connection with RSSI lower than the sufficient RSSI will be
    temporarily disabled when it is unwanted by core networking -->
    <bool translatable="false" name="config_wifiDisableUnwantedNetworkOnLowRssi">true</bool>

    <!-- Whether we should apply APF filters on non primary STA connections when STA + STA is active.
         Defaults to false since most wifi chips cannot support concurrent APF filter set needed for STA + STA-->
    <bool translatable="false" name="config_wifiEnableApfOnNonPrimarySta">true</bool>

    <!-- Boolean indicating that enable roaming between linked networks -->
    <bool translatable="false" name="config_wifiEnableLinkedNetworkRoaming">false</bool>

    <!-- Boolean indicating whether IP address allocation in EAPOL is enabled by default in Wi-Fi.
         The GO fixed IP address is set to 192.168.49.1 and subnet mask to 255.255.255.0 -->
    <bool translatable="false" name ="config_wifiP2pGoIpAddressAllocationInEapolFrames">true</bool>

    <!-- Use legacy wifi p2p dedicated address instead of randomize address. -->
    <bool translatable="false" name="config_tether_enable_legacy_wifi_p2p_dedicated_ip">true</bool>

    <!-- List of constants to indicate how many failures are needed to temporarily disable a network
    from auto-connect -->
    <integer translatable="false" name="config_wifiDisableReasonAssociationRejectionThreshold"> 5 </integer>
    <integer translatable="false" name="config_wifiDisableReasonAuthenticationFailureThreshold"> 5 </integer>

    <!-- Interval Multiplier for PNO scan. After not finding any networks for
         config_wifiPnoScanIterations, PNO will multiply the scan interval by the value
         configured.-->
    <integer translatable="false" name="config_wifiPnoScanIntervalMultiplier">6</integer>

</resources>
